﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ComTools
{
    class WeaverClass
    {
    }

    internal class LoginError
    {
        public int errcode { get; set; }
        public string errmsg { get; set; }
    }
    internal class LoginResult
    {
        /// <summary>
        /// 接口状态code
        /// </summary>
        public string msgcode { get; set; }
        /// <summary>
        /// 接口状态消息
        /// </summary>
        public string msg { get; set; }
        public string access_token { get; set; }
        /// <summary>
        /// 接口状态
        /// </summary>
        public string loginstatus { get; set; }
        /// <summary>
        /// 用户token，用于前端记住密码
        /// </summary>
        public string user_token { get; set; }
        /// <summary>
        /// 用户id
        /// </summary>
        public long userid { get; set; }
        /// <summary>
        /// 密码错误次数
        /// </summary>
        public string sumpasswordwrong { get; set; }
    }

    internal class NewFlowResult
    {
        public string code { get; set; }
        public NewFlowResultData data { get; set; }
        public string errMsg { get; set; }

    }

    internal class NewFlowResultData
    {
        public string requestid { get; set; }
    }

    internal class NewFlowError
    {
        public string code { get; set; }
        public object errMsg { get; set; }
    }
}
